package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.cdb;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class CDBOrderListResponse extends SecurityResponse<CDBOrderListResponse.Body> {

    public CDBOrderListResponse() {
    }

    public CDBOrderListResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public CDBOrderListResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

        private String tradeNo;
        private String portableBatterySn;

        private Long memberId;
        private String memberName;

        private Long leasePlaceId;
        private String leasePlaceName;
        private Integer leaseSlotNum;

        private Long revertPlaceId;
        private String revertPlaceName;
        private Integer revertSlotNum;
        private String costModeName;
        private String moneyStr;
        private Integer payState;
        private String payStateName;
        private Integer deviceOrderState;
        private String deviceOrderStateName;

        private Date createDate;

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public Long getMemberId() {
            return memberId;
        }

        public void setMemberId(Long memberId) {
            this.memberId = memberId;
        }

        public String getMemberName() {
            return memberName;
        }

        public void setMemberName(String memberName) {
            this.memberName = memberName;
        }

        public String getPortableBatterySn() {
            return portableBatterySn;
        }

        public void setPortableBatterySn(String portableBatterySn) {
            this.portableBatterySn = portableBatterySn;
        }

        public Long getLeasePlaceId() {
            return leasePlaceId;
        }

        public void setLeasePlaceId(Long leasePlaceId) {
            this.leasePlaceId = leasePlaceId;
        }

        public String getLeasePlaceName() {
            return leasePlaceName;
        }

        public void setLeasePlaceName(String leasePlaceName) {
            this.leasePlaceName = leasePlaceName;
        }

        public Integer getLeaseSlotNum() {
            return leaseSlotNum;
        }

        public void setLeaseSlotNum(Integer leaseSlotNum) {
            this.leaseSlotNum = leaseSlotNum;
        }

        public Long getRevertPlaceId() {
            return revertPlaceId;
        }

        public void setRevertPlaceId(Long revertPlaceId) {
            this.revertPlaceId = revertPlaceId;
        }

        public String getRevertPlaceName() {
            return revertPlaceName;
        }

        public void setRevertPlaceName(String revertPlaceName) {
            this.revertPlaceName = revertPlaceName;
        }

        public Integer getRevertSlotNum() {
            return revertSlotNum;
        }

        public void setRevertSlotNum(Integer revertSlotNum) {
            this.revertSlotNum = revertSlotNum;
        }

        public String getMoneyStr() {
            return moneyStr;
        }

        public void setMoneyStr(String moneyStr) {
            this.moneyStr = moneyStr;
        }

        public String getCostModeName() {
            return costModeName;
        }

        public void setCostModeName(String costModeName) {
            this.costModeName = costModeName;
        }

        public Integer getPayState() {
            return payState;
        }

        public void setPayState(Integer payState) {
            this.payState = payState;
        }

        public String getPayStateName() {
            return payStateName;
        }

        public void setPayStateName(String payStateName) {
            this.payStateName = payStateName;
        }

        public Integer getDeviceOrderState() {
            return deviceOrderState;
        }

        public void setDeviceOrderState(Integer deviceOrderState) {
            this.deviceOrderState = deviceOrderState;
        }

        public String getDeviceOrderStateName() {
            return deviceOrderStateName;
        }

        public void setDeviceOrderStateName(String deviceOrderStateName) {
            this.deviceOrderStateName = deviceOrderStateName;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }
    }
}
